<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>优品-正品低价、品质保证、配送及时、轻松购物！</title>
  <link rel="icon" href="/static/index/img/favicon.ico">
  <link rel="stylesheet" href="/static/index/css/swiper-3.4.2.min.css">
  <link rel="stylesheet" href="/static/index/css/index.css">
  <script src="/static/index/js/jquery-3.1.1.min.js" type="text/javascript" charset="utf-8"></script>
  <script src="/static/index/js/swiper-3.4.2.jquery.min.js" type="text/javascript" charset="utf-8"></script>
  <script src="/static/index/js/swiper-3.4.2.min.js"></script>
</head>

<body>
  <header>
    <!--头部-->
    <div class="header_head">
      <div class="header_head_box">
        <b class="header_head_p">
          <a href="#"><img src="/static/index/img/img_05.png" style="border-radius: 50%;" /> 北京</a>
          <div class="header_head_p_cs">
            <a href="#" style="background: #C81623;color: #fff;">北京</a>
            <a href="#">上海</a>
            <a href="#">天津</a>
            <a href="#">重庆</a>
            <a href="#">河北</a>
            <a href="#">山西</a>
            <a href="#">河南</a>
            <a href="#">辽宁</a>
            <a href="#">吉林</a>
            <a href="#">黑龙江</a>
            <a href="#">内蒙古</a>
            <a href="#">江苏</a>
            <a href="#">山东</a>
            <a href="#">安徽</a>
            <a href="#">浙江</a>
            <a href="#">福建</a>
            <a href="#">湖北</a>
            <a href="#">湖南</a>
            <a href="#">广东</a>
            <a href="#">广西</a>
            <a href="#">江西</a>
            <a href="#">四川</a>
            <a href="#">海南</a>
            <a href="#">贵州</a>
            <a href="#">云南</a>
            <a href="#">西藏</a>
            <a href="#">陕西</a>
            <a href="#">甘肃</a>
            <a href="#">青海</a>
            <a href="#">宁夏</a>
            <a href="#">新疆</a>
            <a href="#">港澳</a>
            <a href="#">台湾</a>
            <a href="#">钓鱼岛</a>
            <a href="#">海外</a>
          </div>
        </b>
        <ul>
          <li>
            <a th:if="${session.loginUser==null}" href="http://auth.yomall.com/login.html">你好，请登录</a>
            <a th:if="${session.loginUser!=null}">欢迎，[[${session.loginUser.nickname}]]</a>
          </li>
          <li>
            <a th:if="${session.loginUser==null}" href="http://auth.yomall.com/reg.html" class="li_2">免费注册</a>
          </li>
          <span>|</span>
          <li>
            <a href="http://member.yomall.com/memberOrder.html">我的订单</a>
          </li>
        </ul>
      </div>
    </div>
    <!--搜索导航-->
    <div class="header_sous">
      <a href="#" class="logo"><img src="/static/index/img/logo.png" /></a>
      <div class="header_form">
        <input id="searchText" type="text" placeholder="" />
        <span style="background: url(/static/index/img/img_12.png) 0 -1px;"></span>
        <a href="#"><img src="/static/index/img/img_09.png" onclick="search()" /></a>
      </div>
      <div class="header_ico">
        <div class="header_gw">
          <img src="/static/index/img/img_15.png" />
          <span><a href="http://cart.yomall.com/cart.html">我的购物车</a></span>
          <span>0</span>
        </div>
        <div class="header_ko">
          <p>购物车中还没有商品，赶紧选购吧！</p>
        </div>
      </div>
      <div class="header_form_nav">
        <ul>
          <li>
            <a href="#" class="aaaaa">游戏狂欢趴</a>
          </li>
          <li>
            <a href="#">优品电脑</a>
          </li>
          <li>
            <a href="#">车主福利</a>
          </li>
          <li>
            <a href="#">二手手机</a>
          </li>
          <li>
            <a href="#">健康好物</a>
          </li>
          <li>
            <a href="#">苹果12</a>
          </li>
          <li>
            <a href="#">国际美妆</a>
          </li>
          <li>
            <a href="#">年货抢鲜</a>
          </li>
        </ul>
      </div>
      <nav>
        <ul>
          <li>
            <a href="#" style="color: #C81623;">秒杀</a>
          </li>
          <li>
            <a href="#" style="color: #C81623;">优惠券</a>
          </li>
          <li>
            <a href="#">PLUS会员</a>
          </li>
          <li>
            <a href="#">品牌闪购</a>
          </li>
          <li>
            <a href="#">拍卖</a>
          </li>
        </ul>
        <div class="spacer">|</div>
        <ul>
          <li>
            <a href="#">服饰</a>
          </li>
          <li>
            <a href="#">超市</a>
          </li>
          <li>
            <a href="#">生鲜</a>
          </li>
          <li>
            <a href="#">全球购</a>
          </li>
        </ul>
        <div class="spacer">|</div>
        <ul>
          <li>
            <a href="#">金融</a>
          </li>
        </ul>
      </nav>
    </div>
    <!--轮播主体内容-->
    <div class="header_main">
      <div class="header_banner">
        <div class="header_main_left">
          <ul>
            <li th:each="category: ${categories}">
              <a href="#" class="header_main_left_a" th:attr="ctg-data=${category.catId}">
                <b th:text="${category.name}"></b>
              </a>
            </li>
          </ul>
        </div>
        <div class="header_main_center">
          <div class="swiper-container swiper1">
            <div class="swiper-wrapper">
              <div class="swiper-slide">
                <a href="#"><img src="/static/index/img/lunbo.jpg" /></a>
              </div>
              <div class="swiper-slide">
                <a href="#"><img src="/static/index/img/lunbo2.jpg" /></a>
              </div>
              <div class="swiper-slide">
                <a href="#"><img src="/static/index/img/lunbo3.jpg" /></a>
              </div>
              <div class="swiper-slide">
                <a href="#"><img src="/static/index/img/lunbo4.jpg" /></a>
              </div>
              <div class="swiper-slide">
                <a href="#"><img src="/static/index/img/lunbo2.png" /></a>
              </div>
              <div class="swiper-slide">
                <a href="#"><img src="/static/index/img/lunbo3.png" /></a>
              </div>
              <div class="swiper-slide">
                <a href="#"><img src="/static/index/img/lunbo7.png" /></a>
              </div>
            </div>
            <div class="swiper-pagination"></div>
            <div class="swiper-button-next swiper-button-white"></div>
            <div class="swiper-button-prev swiper-button-white"></div>
          </div>
          <div class="header_main_center_b">
            <a href="#"><img src="/static/index/img/5a13bf0bNe1606e58.jpg" /></a>
            <a href="#"><img src="/static/index/img/5a154759N5385d5d6.jpg" /></a>
          </div>
          <div class="header_main_center_b">
            <a href="#"><img src="/static/index/img/592935aaNf9c009fe.jpg" /></a>
            <a href="#"><img src="/static/index/img/592935aaNf9c009ff.jpg" /></a>
          </div>
        </div>
        <div class="header_main_right">
          <div class="header_main_right_user">
            <div class="user_info">
              <div class="user_info_tou">
                <a href="#"><img class="" src="/static/index/img/touxiang.png"></a>
              </div>
              <div class="user_info_show">
                <p class="">Hi, 欢迎来到!</p>
                <p>
                  <a href="#" class="">登录</a>
                  <a href="#" class="">注册</a>
                </p>
              </div>
            </div>
            <div class="user_info_hide">
              <a href="#">新人福利</a>
              <a href="#">PLUS会员</a>
            </div>
          </div>
          <div class="header_main_right_new">
            <div class="header_new">
              <div class="header_new_t">
                <p class="active">
                  <a href="#">促销</a>
                </p>
                <p>
                  <a href="#">公告</a>
                </p>
                <a href="#">更多</a>
              </div>
              <div class="header_new_connter">
                <div class="header_new_connter_1">
                  <ul>
                    <li>
                      <a href="#">全民纸巾大作战</a>
                    </li>
                    <li>
                      <a href="#">家具建材满999减300元</a>
                    </li>
                    <li>
                      <a href="#">黑科技冰箱，下单立减千元</a>
                    </li>
                    <li>
                      <a href="#">抢102减101神券！</a>
                    </li>
                  </ul>
                </div>
                <div class="header_new_connter_1" style="display: none;">
                  <ul>
                    <li>
                      <a href="#">关于召回普利司通（天津）轮胎有限公司2个规格乘用车轮胎的公告</a>
                    </li>
                    <li>
                      <a href="#">物流推出配送员统一外呼电话"95056”</a>
                    </li>
                    <li>
                      <a href="#">天府大件运营中心开仓公告</a>
                    </li>
                    <li>
                      <a href="#">大件物流“送装一体”服务全面升级！</a>
                    </li>
                  </ul>
                </div>
              </div>
            </div>
          </div>
          <div class="header_main_right_ser">
            <div class="ser_box">
              <ul>
                <li class="ser_box_item">
                  <a href="#">
                    <img src="/static/index/img/huafei.png" />
                    <span>话费</span>
                  </a>
                </li>
                <li class="ser_box_item">
                  <a href="#">
                    <img src="/static/index/img/jipiao.png" />
                    <span>机票</span>
                  </a>
                </li>
                <li class="ser_box_item">
                  <a href="#">
                    <img src="/static/index/img/jiudian.png" />
                    <span>酒店</span>
                  </a>
                </li>
                <li class="ser_box_item">
                  <a href="#">
                    <img src="/static/index/img/youxi.png" />
                    <span>游戏</span>
                  </a>
                </li>
                <li class="ser_box_item1">
                  <a href="#">
                    <img src="/static/index/img/qiyegou.png" />
                    <span>企业购</span>
                  </a>
                </li>
                <li class="ser_box_item1">
                  <a href="#">
                    <img src="/static/index/img/jiayouka.png" />
                    <span>加油卡</span>
                  </a>
                </li>
                <li class="ser_box_item1">
                  <a href="#">
                    <img src="/static/index/img/dianyingpiao.png" />
                    <span>电影票</span>
                  </a>
                </li>
                <li class="ser_box_item1">
                  <a href="#">
                    <img src="/static/index/img/huochepiao.png" style="height:20px;" />
                    <span>火车票</span>
                  </a>
                </li>
                <li class="ser_box_item1">
                  <a href="#">
                    <img src="/static/index/img/zhongchou.png" />
                    <span>众筹</span>
                  </a>
                </li>
                <li class="ser_box_item1">
                  <a href="#">
                    <img src="/static/index/img/licai.png" style="height:22px;" />
                    <span>理财</span>
                  </a>
                </li>
                <li class="ser_box_item1">
                  <a href="#">
                    <img src="/static/index/img/lipinka.png" style="height:14px;" />
                    <span>礼品卡</span>
                  </a>
                </li>
                <li class="ser_box_item1">
                  <a href="#">
                    <img src="/static/index/img/baitiao.png" style="height:20px;" />
                    <span>白条</span>
                  </a>
                </li>
                <li class="ser_box_item1">
                  <a href="#">
                    <img src="/static/index/img/zhongchou.png" />
                    <span>众筹</span>
                  </a>
                </li>
                <li class="ser_box_item1">
                  <a href="#">
                    <img src="/static/index/img/licai.png" style="height:22px;" />
                    <span>理财</span>
                  </a>
                </li>
                <li class="ser_box_item1">
                  <a href="#">
                    <img src="/static/index/img/lipinka.png" style="height:14px;" />
                    <span>礼品卡</span>
                  </a>
                </li>
                <li class="ser_box_item1">
                  <a href="#">
                    <img src="/static/index/img/baitiao.png" style="height:20px;" />
                    <span>白条</span>
                  </a>
                </li>
              </ul>
            </div>
          </div>
        </div>
      </div>
    </div>
  </header>

  <div class="section_second">
    <!-- 第一层 -->
    <div class="section_second_header">
      <p class="section_second_header_img"></p>
      <div class="section_second_header_left">
        <p></p>
        <span class="">秒杀</span>
        <span>总有你想不到的低价</span>
        <span>
        </span>
      </div>
      <div class="section_second_header_right">
        <p>当前场次</p>
        <span class="section_second_header_right_hours">00</span>
        <span class="section_second_header_right_mao">：</span>
        <span class="section_second_header_right_minutes">00</span>
        <span class="section_second_header_right_mao">：</span>
        <span class="section_second_header_right_second">00</span>
        <p>后结束</p>
      </div>
    </div>
    <div class="section_second_list">
      <div class="swiper-container swiper_section_second_list_left">
        <div class="swiper-wrapper">
          <div class="swiper-slide">
            <ul id="seckillSkus">
            </ul>
          </div>

        </div>
        <div class="swiper-button-prev second_list">
          <p></p>
        </div>
        <div class="swiper-button-next second_list">
          <p></p>
        </div>
      </div>
      <ul class="section_second_list_right">
        <li>
          <img src="/static/index/img/section_second_list_right_img.jpg" alt="">
        </li>
        <li>
          <img src="/static/index/img/section_second_list_right_img.png" alt="">
        </li>
        <div class="section_second_list_right_button">
          <p class="section_second_list_right_button_active"></p>
          <p></p>
        </div>
      </ul>
    </div>
  </div>

  <!--底部-->
  <footer class="footer">
    <div class="footer_top">
      <ul>
        <li>
          <span></span>
          <h3>品类齐全，轻松购物</h3>
        </li>
        <li>
          <span></span>
          <h3>多仓直发，极速配发</h3>
        </li>
        <li>
          <span></span>
          <h3>正品行货，精致服务</h3>
        </li>
        <li>
          <span></span>
          <h3>天天低价，畅选无忧</h3>
        </li>
      </ul>
    </div>
    <div class="footer_center">
      <ol>
        <li>购物指南</li>
        <li><a href="#" style="color: rgb(114, 114, 114);">购物流程</a>
        </li>
        <li><a href="#" style="color: rgb(114, 114, 114);">会员介绍</a>
        </li>
        <li><a href="#">生活旅行</a>
        </li>
        <li><a href="#" style="color: rgb(114, 114, 114);">常见问题</a>
        </li>
        <li><a href="#">大家电</a>
        </li>
        <li><a href="#" style="color: rgb(114, 114, 114);">联系客服</a>
        </li>
      </ol>
      <ol>
        <li>配送方式</li>
        <li><a href="#" style="color: rgb(114, 114, 114);">上门自提</a>
        </li>
        <li><a href="#" style="color: rgb(114, 114, 114);">211限时达</a>
        </li>
        <li><a href="#" style="color: rgb(114, 114, 114);">配送服务查询</a>
        </li>
        <li><a href="#" style="color: rgb(114, 114, 114);">配送费收取标准</a>
        </li>
        <li><a href="#" style="color: rgb(114, 114, 114);">海外配送</a>
        </li>
      </ol>
      <ol>
        <li>支付方式</li>
        <li><a href="#" style="color: rgb(114, 114, 114);">货到付款</a>
        </li>
        <li><a href="#" style="color: rgb(114, 114, 114);">在线支付</a>
        </li>
        <li><a href="#" style="color: rgb(114, 114, 114);">分期付款</a>
        </li>
        <li><a href="#" style="color: rgb(114, 114, 114);">邮局汇款</a>
        </li>
        <li><a href="#" style="color: rgb(114, 114, 114);">公司转账</a>

        </li>
      </ol>
      <ol>
        <li>售后服务</li>
        <li><a href="#" style="color: rgb(114, 114, 114);">售后政策</a>
        </li>
        <li><a href="#" style="color: rgb(114, 114, 114);">价格保护</a>
        </li>
        <li><a href="#" style="color: rgb(114, 114, 114);">退款说明</a>
        </li>
        <li><a href="#" style="color: rgb(114, 114, 114);">返修/退换货</a>
        </li>
        <li><a href="#">取消订单</a>
        </li>
      </ol>
      <ol>
        <li>特色服务</li>
        <li><a href="#" style="color: rgb(114, 114, 114);">夺宝岛</a>
        </li>
        <li><a href="#">DIY装机</a>
        </li>
        <li><a href="#" style="color: rgb(114, 114, 114);">延保服务</a>
        </li>
        <li><a href="#" style="color: rgb(114, 114, 114);">优品E卡</a>
        </li>
        <li><a href="#" style="color: rgb(114, 114, 114);">优品通信</a>
        </li>
      </ol>
      <ol>
        <li>优品自营覆盖区域</li>
        <li>
          优品已向全国2661个区县提供自<br> 营配送服务，支持货到付款、
          <br> POS机刷卡和售后上门服务。
        </li>
        <li><a href="#" style="color: rgb(114, 114, 114);">查看详情&gt;</a>
        </li>
      </ol>
    </div>
    <div class="footer_foot">
      <p class="footer_p p1">
        <a href="#">关于我们</a>
        <span></span>
        <a href="#" style="color: rgb(114, 114, 114);">联系我们</a>
        <span></span>
        <a href="#">联系客服</a>
        <span></span>
        <a href="#" style="color: rgb(114, 114, 114);">合作招商</a>
        <span></span>
        <a href="#" style="color: rgb(114, 114, 114);">商家帮助</a>
        <span></span>
        <a href="#" style="color: rgb(114, 114, 114);">营销中心</a>
        <span></span>
        <a href="#" style="color: rgb(114, 114, 114);">手机优品</a>
        <span></span>
        <a href="#" style="color: rgb(114, 114, 114);">友情链接</a>
        <span></span>
        <a href="#" style="color: rgb(114, 114, 114);">销售联盟</a>
        <span></span>
        <a href="#" style="color: rgb(114, 114, 114);">优品社区</a>
        <span></span>
        <a href="#" style="color: rgb(114, 114, 114);">风险监测</a>
        <span></span>
        <a href="#">隐私政策</a>
        <span></span>
        <a href="#">优品公益</a>
        <span></span>
        <a href="#" style="color: rgb(114, 114, 114);">English Site</a>
        <span></span>
        <a href="#">Media &amp; IR</a>
      </p>
      <p class="footer_p">
        <a href="#">京公网安备 11000002000088号</a>
        <span></span>
        <a href="#">京ICP证070359号</a>
        <span></span>
        <a href="#">互联网药品信息服务资格证编号(京)-经营性-2014-0008</a>
        <span></span>
        <a href="#">新出发京零 字第大120007号</a>
      </p>
      <p class="footer_p">
        <a href="#">互联网出版许可证编号新出网证(京)字150号</a>
        <span></span>
        <a href="#">出版物经营许可证</a>
        <span></span>
        <a href="#">网络文化经营许可证京网文[2014]2148-348号</a>
        <span></span>
        <a href="#">违法和不良信息举报电话：4006561155</a>
      </p>
      <p class="footer_p">
        <a href="#">Copyright © 2004 - 2017 优品JD.com 版权所有</a>
        <span></span>
        <a href="#">消费者维权热线：4006067733</a>
        <a href="#">经营证照</a>
      </p>
      <p class="footer_p">
        <a href="#">优品旗下网站:</a>
        <a href="#">优品支付</a>
        <span></span>
        <a href="#">优品云</a>
      </p>
      <ul>
        <li></li>
        <li></li>
        <li></li>
        <li></li>
        <li></li>
        <li></li>
    </ul>
    </div>
  </footer>

</body>
<script>
  function search() {
    let keyword = $('#searchText').val()
    window.location.href = 'http://search.yomall.com/list.html?keyword=' + keyword
  }

  function toItemPage(skuId){
    location.href = `http://item.yomall.com/${skuId}.html`
  }

  // 获取当前秒杀场次商品
  $.get('http://seckill.yomall.com/currentSeckillSkus', function(resp){
    if(resp.data.length > 0){
      resp.data.forEach(function(item){
        $('<li onclick="toItemPage('+item.skuId+')"></li>')
                .append($('<img src="'+item.skuInfo.skuDefaultImg+'" style="width: 130px;height: 130px">'))
                .append($('<p>'+item.skuInfo.skuTitle+'</p>'))
                .append($('<span>'+item.seckillPrice+'</span>'))
                .append($('<s>'+item.skuInfo.price+'</s>'))
                .appendTo($('#seckillSkus'))
      })
    }
  })
</script>
<script type="text/javascript" src="/static/index/js/text.js"></script>
<script type="text/javascript" src="/static/index/js/header.js"></script>
<script type="text/javascript" src="/static/index/js/second.js"></script>
<script type="text/javascript" src="/static/index/js/zz.js"></script>
<script type="text/javascript" src="/static/index/js/index.js"></script>
<script type="text/javascript" src="/static/index/js/left,top.js"></script>
<script type="text/javascript" src="/static/index/js/catalogLoader.js"></script>
</html>